import request from '@/utils/request'

// 登录接口
export function login (data) {
  return request.post('/user/login', data)
}

// 获取用户信息接口
export const getuserInfo = () => {
  return request('/user')
}
